package com.java.jvalidator.framework.config;

import java.util.Map;

import com.java.jvalidator.framework.ValidationException;

public abstract interface XMLConfigFileParser {
	/**
	 * 通过类名找到对应的XML校验文件，返回校验对象
	 * @param paramString 类名
	 * @return
	 * @throws ValidationException
	 */
	public abstract ClassConfig parseClassConfig(String paramString) throws ValidationException;

	/***
	 * 如果配置有rule-composite.xml，加载转换该xml
	 * @return
	 * @throws ValidationException
	 */
	public abstract Map<String, RuleComposite> parseRuleComposite() throws ValidationException;
}
